{% extends 'admin/_base.html' %}

{% block title %} site {% endblock %}


{% block main_content %}
<div class="manage">
    <h1>站点管理</h1>
    <form method="POST">
        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
        <div class="manage-item">
            <div>站点名称修改：</div>
            <input type="text" name="site_name" id="" value="{{ site_config.get('name') }}">
        </div>

        <div class="manage-item">
            <div>引用名言修改：</div>
            <input type="text" name="to_quote" id="" value="{{ site_config.get('to_quote') }}">
        </div>
        <div class="manage-item">
            <div>首页背景修改：</div>
            <input type="text" name="index_bg" id="" value="{{ site_config.get('index_bg') }}">
        </div>
        <div class="manage-item">
            <div>播放视频修改：</div>
            <input type="text" name="video_url" id="" value="{{ site_config.get('video_url') }}">
        </div>

        <div class="manage-item">
            <div>页脚设置 HTML：</div>
            <textarea name="footer" id="" cols="30" rows="10">{{ site_config.get('footer') }}</textarea>
        </div>

        <div class="submit">    
            <input type="submit" value="提交修改">
        </div>
    </form>
</div>
{% endblock %}